package com.guigu.tms.commons.aggregation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 车次车辆司机订单分类关联表
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
@TableName("pd_order_classify_attach")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderClassifyAttach implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 车次id
     */
    private String tripsId;

    /**
     * 车辆id
     */
    private String truckId;

    /**
     * 司机id
     */
    private String driverId;

    /**
     * 订单分类表id
     */
    private String orderClassifyId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    @TableField(exist = false)
    private CacheLineUse cacheLineUse;
}
